package com.tansun.easycare.rule.table.evaluationindex.service;

import java.util.List;

import com.tansun.easycare.core.service.CrudService;
import com.tansun.easycare.rule.exception.BizException;
import com.tansun.easycare.rule.table.entity.RuleDecisiontableDetail;
import com.tansun.easycare.rule.table.evaluationindex.model.EvaluationIndexItem;
import com.tansun.easycare.rule.table.evaluationindex.model.IndexEntity;

public interface EvaluationIndexService extends CrudService<RuleDecisiontableDetail> {

    /**
     * 保存赋值索引
     */
    void saveOrUpdate(IndexEntity indexEntity) throws BizException;

    /**
     * 根据ID和版本号查找赋值索引明细信息
     */
    List<EvaluationIndexItem> findEvaluationIndexItemByIndexId(String indexId, String version) throws BizException;

}
